package com.fs.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


@Configuration
@Data
public class PropsConfig {

    @Value("${spring.kafka.bootstrap-servers}")
    private String broker;

    @Value("${spring.kafka.producer.key-serializer}")
    private String key;

    @Value("${spring.kafka.producer.value-serializer}")
    private String value;
    @Value("${spring.kafka.bootstrap-servers}")
    private String servers;

}
